NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;
function initIt(formname){
	//alert("initIt")
	with (formname){
		if (!ver4) return;
		divColl = document.all.tags("DIV");
		if (IE4){
			for (i=0; i<divColl.length; i++) {
				whichEl = divColl(i);
				if ((whichEl.id.indexOf("statuses") != -1) || (whichEl.id.indexOf("report") != -1)) 
					whichEl.style.display = "none";
			}
			for (j=0;j<document.images.length;j++){
				if ((document.images[j].name.indexOf("statuses") != -1) || (document.images[j].name.indexOf("report") != -1)){
					document.images[j].src="../../images/<%= strLanguageCode %>/checked.gif";
				}
			}
		}
	}
}

function expandIt(el,formname) {
	with (formname){
		whichEl = eval(el);
		imagesrc = eval("img" + el);
		if (!ver4) return;
		if (IE4) {
			if (whichEl.style.display != "none") {
				whichEl.style.display = "none";
				imagesrc.src="../../images/<%= strLanguageCode %>/checked.gif"
			}
			else {
				whichEl.style.display = "block";
				imagesrc.src="../../images/<%= strLanguageCode %>/unchecked.gif"
			}
		}
	}
}
